package softsdk

func SoftEncInit(secretKeyBasePath string) {
	const (
		FhePkFileName = "huangheng20231023_pk_key.txt"
		FheSkFileName = "huangheng20231023_sk_key.txt"
		AesSkFileName = "huangheng20231101_aes_ecb_sk.txt"
	)
	softSkBasePath := secretKeyBasePath + "soft-secret-key/"
	err := readSoftEncPK(softSkBasePath + FhePkFileName)
	if err != nil {
		panic(err)
	}
	err = readSoftEncSK(softSkBasePath + FheSkFileName)
	if err != nil {
		panic(err)
	}
	err = readAesEncSK(softSkBasePath + AesSkFileName)
	if err != nil {
		panic(err)
	}
}
